package cn.atimer.sdk.utils;

import java.util.ArrayList;
import java.util.List;

public class AtimerConstants {
	
	public static String baseDomain = "https://api.atimer.cn/";
	
	public static String baseVersion = "v2/";

	public static String baseFunction = "rest/";
	
	public static String baseAsyncFunction = "async";
	
	public static String channelIndex = "authorize/index";
	
	//获取日历
	public static String getcalendars = "getcalendars";
	//创建/更新日历
	public static String putcalendar = "putcalendar";
	//删除日历
	public static String deletecalendar = "deletecalendar";
	//获取日历
	public static String getsharedcalendar = "getsharedcalendar";
	//发布日历
	public static String sharecalendar = "sharecalendar";
	
	//获取事件
	public static String getevents = "getevents";
	//获取单个事件
	public static String getevent = "getevent";
	//创建/更新事件
	public static String putevent = "putevent";
	//删除事件
	public static String deleteevent = "deleteevent";
	//退出事件
	public static String deleteeventnote = "deleteeventnote";
	//获取提醒事件
	public static String getreminders = "getreminders";
	
	//获取公共日历
	public static String publiccalendars = "publiccalendars";
	//发布公共日历
	public static String publishcalendar = "publishcalendar";
	
	//获取订阅
	public static String getsubscribes = "getsubscribes";
	//订阅
	public static String subscribe = "subscribe";
	//取消订阅
	public static String unsubscribe = "unsubscribe";
	
	//用户授权
	public static String bind = "bind";
	//用户取消授权
	public static String unbind = "unbind";
	//获取用户数据
	public static String getview = "getview";
	//更新用户数据
	public static String updateview = "updateview";
	//当前用户视图事件
	public static String getcurrentevents = "getcurrentevents";
	//更新用户头像昵称
	public static String updatenameandportrait = "updatenameandportrait";
	
	// 外渠同步
	public static String match = "match";
	// 外渠复制
	public static String copy = "copy";
	// 外渠移动
	public static String move = "move";
	// 外渠删除
	public static String delete = "delete";
	// 任务查询
	public static String query = "query";
	
	//公共日历名称集合
	public static List<String> getPublicCalendarName(){
		List<String> list = new ArrayList<String>();
		list.add("农历");
		list.add("星宿");
		list.add("节气");
		list.add("干支");
		list.add("星座");
		list.add("节假");
		return list;
	}
}
